from django.conf.urls.defaults import *

urlpatterns = patterns('',
    # Example:
    
    (r'^feeds/all_latestposts/([\w\d]+)/$','hakaze.forums.views.feed_all_latestposts'),
    (r'^feeds/all_latestthreads/([\w\d]+)/$', 'hakaze.forums.views.feed_all_latestthreads'),
    (r'^feeds/latestposts_by_thread/([\w\-]+)/(\d+)/([\w\d]+)/$','hakaze.forums.views.feed_thread_latestposts'),
    (r'^feeds/latestposts_by_channel/([\w\-]+)/([\w\d]+)/$','hakaze.forums.views.feed_channel_latestposts'),
    (r'^feeds/latestthreads_by_channel/([\w\-]+)/([\w\d]+)/$','hakaze.forums.views.feed_channel_latestthreads'),
    (r'^$','hakaze.forums.views.channellist'),
    (r'^([\w\-]+)/$','hakaze.forums.views.channelview'),
    (r'^([\w\-]+)/(\d+)/!(\d+|last)!(\d+)/$','hakaze.forums.views.threadview'),
    (r'^([\w\-]+)/(\d+)/!(\d+|last)/$','hakaze.forums.views.threadview'),
    (r'^([\w\-]+)/(\d+)/$','hakaze.forums.views.threadview'),
    (r'^([\w\-]+)/(\d+)/(\d+)/$','hakaze.forums.views.postview'),
)
